package com.sss.hloster01;

public class Product {
//属性
	private String proName;
	private double proPrice;
	
	//行为
	/**
	 * 获取产品信息
	 */
	public String printInfo() {
		return "产品名：："+proName+";产品价格：："+proPrice;
	}
	public Product() {
		super();
	}
	public Product(String proName, double proPrice) {
		super();
		this.proName = proName;
		this.proPrice = proPrice;
	}
	public String getProName() {
		return proName;
	}
	public void setProName(String proName) {
		this.proName = proName;
	}
	public double getProPrice() {
		return proPrice;
	}
	public void setProPrice(double proPrice) {
		this.proPrice = proPrice;
	}
	
}
